package com.zdya.combatdocuments.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zdya.combatdocuments.entity.Network;
import com.zdya.combatdocuments.entity.User;
import com.zdya.combatdocuments.entity.vo.ResultVo;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

public interface NetworkService extends IService<Network> {
    ResultVo createNet(String name,Long userId,String gradeName,Long gradeTime,Long firstLimittime,Long secondLimittime,Long thirdLimittime);

    ResultVo starNet(String netName, String createName);

    ResultVo joinNet(String ipAddress,Long userId);

    List<Network> getNetList(Long userId);

    String changeUser(User user);
}
